/************************************************************************************
**                                                                                 **
**                               mcHF QRP Transceiver                              **
**                             K Atanassov - M0NKA 2014                            **
**                                                                                 **
**---------------------------------------------------------------------------------**
**                                                                                 **
**  File name:                                                                     **
**  Description:                                                                   **
**  Last Modified:                                                                 **
**  Licence:		For radio amateurs experimentation, non-commercial use only!   **
************************************************************************************/

#ifndef __I_RX_FILTER_5K_H
#define __I_RX_FILTER_5K_H

#define I_BLOCK_SIZE		1
#define I_NUM_TAPS			89

/*
 	 * Hilbert 0 Degree, "Phase-added" bandpass filter
     * Kaiser Window FIR Filter, Beta = 5.75, Raised Cosine = 0.91
     * Fc = 2.26 kHz (0.094)
     * BW = 5.18 kHz (0.216)
     * 89 Taps
     *
     * 20140926 by KA7OEI using Iowa Hills Hilbert Filter Designer
     *
     * This filter used in the "5 kHz" RX filter position of the mcHF
*/

const float i_rx_5k_coeffs[I_NUM_TAPS] =
{
		-0.000043426876234221,
		-0.000002191990883891,
		0.000072100444851007,
		0.000146190293613914,
		0.000162704382674571,
		0.000066535363009479,
		-0.000155548384183247,
		-0.000442544978997593,
		-0.000659286380153237,
		-0.000644151194132718,
		-0.000295663946034226,
		0.000338912701649684,
		0.001026081281354910,
		0.001402678737462120,
		0.001129822554695560,
		0.000091825203377056,
		-0.001456726133406820,
		-0.002896198394872420,
		-0.003447955277936570,
		-0.002534414503289770,
		-0.000147860375526197,
		0.002965697373513680,
		0.005459552760619980,
		0.005894146203596460,
		0.003438147321799850,
		-0.001541483020624470,
		-0.007327786088968630,
		-0.011330883354589200,
		-0.011119371587417100,
		-0.005641858261680950,
		0.003903164621667750,
		0.014047162409269700,
		0.020090889315570000,
		0.017969387041418500,
		0.006287588083231960,
		-0.012331139064764000,
		-0.031298832636285500,
		-0.041758619925634300,
		-0.035513772267946100,
		-0.008218535082724620,
		0.038370728643609200,
		0.096051808777281600,
		0.152065307042769000,
		0.192718944802348000,
		0.207569195237242000,
		0.192718944802350000,
		0.152065307042773000,
		0.096051808777286500,
		0.038370728643613700,
		-0.008218535082721400,
		-0.035513772267944600,
		-0.041758619925634400,
		-0.031298832636286800,
		-0.012331139064765700,
		0.006287588083230530,
		0.017969387041417800,
		0.020090889315570100,
		0.014047162409270400,
		0.003903164621668730,
		-0.005641858261680100,
		-0.011119371587416700,
		-0.011330883354589200,
		-0.007327786088968960,
		-0.001541483020624950,
		0.003438147321799410,
		0.005894146203596200,
		0.005459552760619940,
		0.002965697373513800,
		-0.000147860375526001,
		-0.002534414503289590,
		-0.003447955277936450,
		-0.002896198394872390,
		-0.001456726133406850,
		0.000091825203377008,
		0.001129822554695520,
		0.001402678737462110,
		0.001026081281354920,
		0.000338912701649701,
		-0.000295663946034212,
		-0.000644151194132715,
		-0.000659286380153244,
		-0.000442544978997604,
		-0.000155548384183257,
		0.000066535363009474,
		0.000162704382674572,
		0.000146190293613918,
		0.000072100444851011,
		-0.000002191990883889,
		-0.000043426876234222
};

/*
static float32_t 		FirState_I[128];
arm_fir_instance_f32 	FIR_I;
*/
#endif
